package com.xiaoxie.cloud.apis;

import com.xiaoxie.cloud.resp.ResultData;
import com.xiaoxie.cloud.resp.ReturnCodeEnum;
import org.springframework.stereotype.Component;

@Component
public class PayFeignSentinelApiFallBack implements PayFeignSentinelApi {
    @Override
    public ResultData getPayOrderNo(String orderNo) {
        return ResultData.fail(ReturnCodeEnum.RC500.getCode(),"对方服务不可用，fallback服务降级！！");
    }
}
